﻿namespace Grove.Cards.Usg
{
	using System.Collections.Generic;
	using Grove.Core;
	using Grove.Core.Ai;
	using Grove.Core.Details.Cards.Effects;
	using Grove.Core.Dsl;
	using Grove.Core.Targeting;

	public class FlameSlash : CardsSource
  {
    public override IEnumerable<ICardFactory> GetCards()
    {
      yield return C.Card
        .Named("Flame Slash")
        .ManaCost("{R}")
        .Type("Sorcery")
        .InSets("Urza's Saga")
        .Text("Flame Slash deals 4 damage to target creature.")
        .FlavorText(
          "After millennia asleep, the Eldrazi had forgotten about Zendikar's fiery temper and dislike of strangers.")
        .Effect<DealDamageToTargets>(e => e.Amount = 4)
        .Timing(Timings.InstantRemovalTarget())
        .Targets(
          selectorAi: TargetSelectorAi.DealDamageSingleSelector(4),
          effectValidator: C.Validator(
            Validators.Creature()));
    }
  }
}